﻿using System;

namespace Teigha.Core
{
	public class OdRxOverrule_Internal : OdRxOverrule
	{
		public OdRxOverrule_Internal(IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
		{
		}

		public override bool isApplicable(OdRxObject pOverruledSubject)
		{
			bool result = GlobalsPINVOKE.OdRxOverrule_isApplicable(OdRxOverrule.getCPtr(this), OdRxObject.getCPtr(pOverruledSubject));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}
	}
}
